cut: fix deprecation warnings
Merge pull request #429 from Arcterus/fix-master

cut: fix deprecation warnings