partial edit avatar bug fix