User reg bug fix