fixed errors in __init__.py catched by pyflakes