fixed bug with pages not found