Major SM4 Error Fix