fix math for :rainbow: