Reformat data showed in view page