readded clearing of blocks accidently removed.