Fixed a potential crashing issue for the callback blocks.