fix the NPE thrown when user config does not exist