fix #28 for sse buffering