small changes
fix is_ready usage