Fixed avatarPath handling
Version 1.1