fix the autogenerated page