fixed buffer swapping