normalize settings