fixed tiny problem on readystate