remove nonworking code