fixing first popup dimensions