fix bug and add gravatar