see http://youtrack.jetbrains.com/issue/JT-16556