fixing top row not clearing pieces correctly