check dom stuff