fix forward and back