fix query show for logged out user