trying to fix chrome/firefox errors (remove sleeps)