fixing domready bug
more random untraceable errors