fixed so as to use correct default value when prompt is on