fix code err