Fixed bug with downloading pages