apply settings