use correct format for table variable