add WS page replacement