add disabled check.