fixed bug in BosonFock state