fixed config method