fix a bug where return 404 status while request correctly url