tut39 fixed pieces-everywhere bug