careless mistake on rating query