fixed issue where block was not being called