Bugfix for splice