correct defautls and locallanguage resolution