remove blocks when no longer needed