fix validation bug for disabled sections