remove the error python mode