fix query 2