dom bug fixed