fixed config issue when starting the app