fixing block problem