fix last pieces