Strip useless data