fixing auto-gen page