Resolved problem "Assert is deprecated".