reformat table & rm useless info