fix kaleidoscope parsing