fix buffer delimiter