trying to change gravatar code to work properly