add __init__.py to content
fix some bugs