check tables