fix query per logo