Remove bad code