made register pop-up match the other one