show paginated message correctly