fix getting settings