fix default page not found handler in webapp framework