little fix in monitor name detection