Fixing prepend and splice