fix html box issues