remove wastecode