fix prev and back