Fixed undefined index in page tpl III