remove unused method (sync with master branch)