change pkg name to buffer-type