Fix "derivative"

I'm sure I could find a smaller PR somewhere, but it'd be tough.