Fixed bugs

__version__ global