[Ide] code cleanup