modify avatar generator