fixed duplicate html id bug