fix for cp-dev errors on displaying pages