bug fix - analyze queries 70%