Fixes application config