(#2276) - fix non-standard splice() usage