Fixed avatar on edit