ignore empty values on in parsing of dom, remove eventlistener on startup