fixed minor bug on complete table