add missing check