fixing popup