fixed config load bug