Fixed error on registration page