Fixing some bugs in SSE backend