fix the defect MAGN-3343

http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-3343