Handle private variable inside block

it fixes #25