Reset code cannot be null