fix ready hack. resolve #7