semicolon bug fixed