Set page name correctly when missing