fixed bug with Not Found pages