bug fixed for next pieces