fix BufferSource with no buffer