fixed a bug with wiredep