some fixes to web versions.