bug fixes

__version__ propogation