Oops: fixed code that used wrong error page on not found