avatar bug fixed