dont display tables for empty queries