fixed error in users controller