fixing DOM