potential for dereferencing nullptr here. Use `checked_pointer_cast` from `helper/checked_cast.h` or check `dep` and `dep2` for nullptr before dereferencing.