Fixed bug with pages count
Fixed routings