Fix overflow in dom. Fix hanging up and re-calling.