fix last submit err