refine error message, fix #63