fixed config main