use correct display query