fix a small bug - in releasing subpages