smaller fix in beans core