fixed avatarlocation bug