Remove code that caused error