fixes to support older Idea12 platform