 fixed issue of rewriting. TODO: Fix weird pageLoc issue and write delete
 fixed issue of rewriting. TODO: Fix weird pageLoc issue and write delete

jacobjiggler/OpSys4,jacobjiggler/OpSys4,jacobjiggler/OpSys4