fix clearing with blockgrid