return early when handling buffer