removing result data (can be regenerated) and modifying res_data