Fixed error in Piece script