fix buffer reference