bugfix: derivations must be removed