fixing the pop up