fixed bug in expanding prob box