Form is not loading or it restarts