fix pycharm detection