Deleting trailing whitespace missed by incomplete hook