fix a missing dependency check