fixed loading of pieces