fixing an issue with bean progress calculation