bugfix pagination links