avalon_cts use correct buffer