fix syncdb with postgres