fomart code
fix 8000 and 1010 error