fixing broken config. this thing really needs tests.