fixed old rw shallow copy bugs
Merge branch 'master' of https://github.com/WheatonCS/Lexos