Fixed conversion error