StatusBar: do not set syntax to undefined