fixed save avatar in data cache