redo mapping after reaching page each time