avoid crash in deps with warnings