fixed bug of pop up