fix config by removing new line char and fix formatting