Fixed raw data deactivation function.