Fixed nullpointer exception in BonusHandler