fix reverse not working issue