only buffer entity if there is one.