bug in table fixed