fix to compare result of get_config in hash, not string