form gets stuck at please wait