Fix popup formatting