this shouldn't be a one-off for the settings page. work with @yangshun to figure this out.