fix semicolon overlap