fixed semicolon parsing