document bug