Removes hacks from sensors so that there are no errors.