fix #532 removing unnessary type cast in splitter