fix download full img bug
fix encoding bug