fixed piece size bug