fix id blocks