fix the wrong online sse direction