Remove an unnecessary extension