bugfix splice