quick bug fix to beat