fixed bug in statement_to_code in different blocks. Now the quotes appear correctly