* Solve the premature popup bug