fix a bonus bug