fixed bug with null reference in Controllers/BonusesController.cs