bugfix for monitor