Fix undefined block property
Merge pull request #1 from studnaa/patch-1

Fix undefined block property