fix to SSE implementation