fix showing avatars
switch to defrecordfactory