fixed badge showing