Removing bad code in users