fixed bug in config