fixing new user reg bug