fixed avatar file getter