fix some monitor bugs

FIx a few bugs in the conviron.monitor module