fixing popup overlap