small_fixes: fixed issue with "make syncdb"
Merge branch 'small_fixes'