fix firebase win logic, banner, and global counter