fixed queries in releases->stage7a