little update of shares base.py