fixed config not loading all options correctly.