fix the defect MAGN-3333

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