new helper method to clean up settings pin values