fixes bonus bug