bug fix: add attributes to pageContext