fixed spliceIf