adding small amount of wait for the ready event