fixed bug in config hash