move call to remove old derivative.  fix derviative creation instead.