fixed wait popup bug when starting