fixing block ids