fix bug in SSE routines