Fixes invalid conversion
Fixes invalid conversion