tweak to the monitor_maintence routine