fixes popup registration form