fixed possible semicolon auto-insertion issues