fixed the off by 1 index for deps required