removes duplicate licence
requires correct dependencies