modify rewrite avatar