fix some loading strangeness in profile.html