uploading my hack for the extra extension added to the avatar image upload