fix readyState evaluation