Fix error in calling reverse