bug fix with int(page)