initialize settings correctly