bug fix to stop a crash when using pagination copy