fix for possible problem in bounty scheduler