add loader to avatar