check there is a buffer ID first