Dom manipulation fix, see last(it didn't work)