fixing the pages controller with alli and cameron