fixed config handler