Remove unnecessary conversion to integer