fixing bug in splat