fix avatar file paths