some fixes for profile.html