Fixing dep check bug
Fixing double dep calling bug