fix html attribute