small fix to boost formula