pycharm refactoring can be aggressive