fix gravatar output in main layout