IDEX-1412 fix codeassistant cleanup