sync from ftp
fix bug