tidy up application config