clean up format for settings