Replace assert with ok_