improved WB-Sensor format string handling