clean formatting, remove redundant data