improved handling of check for gmond