fix the disabled bug