Fixed bug related with calling method with block