fix semicolon bug