Fix ready state