Fix 'block is not defined' error