fix query for performance