Fixing bug when monitoring is on and string is expected but not supplied.