fixed config bug and data load