Finally changed tables to xtable.