fixed a bug in the dependencies