IDEX-1597: don't use depricated methods
Merge pull request #54 from codenvy/IDEX-1597

IDEX-1597: don't use depricated methods