bugfix in monitor