add missing dependency check