removed code that broke registration