Fixing autogenerated header links