readyState fixed