removing rogue 'd'