Remove unnecessary infomation