remove dependencies of $