avatar directive working again and setting sizes