The real fix for the type coersion error.