fix query view 2