fix to the is_ready reset to nil

cc @hrushikesh