Fix table printing