Why the submit is stuck on Please wait?