fixed praseInt for pagination