try to fix ready bug