fixed buf