fix html bugs for profile