remove calls to removed methods
Merge pull request #1071 from Soul1355/master

remove calls to removed methods