Undefined Error Fix.