Minor tweak
Minor tweak
Attempt to lock page not buf. Still one bug.