fixed please wait bug