fix bug related to iniatializing a form with a block