fix print table