fix a bug in not_found