fixing issue while setting the status of cluster monitor