Fixed an issue with monitor IDs