bug, pages should be int