Avoid error when bufname is not unique