fixed monitor write bug
Merge remote-tracking branch 'origin/master'