migrate avatar fix