Fixed a bug that ignore values from Config

Fixed a bug that ignore values from Config