fix avatar in editor