Fixed problem on syncdb.sh