remove used code and READYSTATE variable should not have six status