fixed white piece bug