IDE-978

fixed a bug