wow i feel dumb - fix slice/splice bug