remove garbage code