fixed type error with new changes to LLVMIR