refine code, and not found handlera

refine code, and not found handlera