fixed rating and popup bool checking