fix #532 removing the unnessary type cast in splitter