check for a buffer when starting