editor buf fix build