fix error when tagcloud appears on login page.