minor fixes to query 2a