buf fixed