fix "Used undeclared dependencies found"