Fixing bug related to monitors