fixed collison buf