fix: key path and tmp_dir in settings