improve ConfigUtils reliability

fixes #5