fixed bug in paginator.class.php