check point before modify avatar