Fixed int conversion error.