fix contents bug at config file