remove idea properly