add parseInt to normalize cacheSize and pageSize