not using the dep properly
Patch to fix incorrect use of dep