Fix on Schedule generate

availability is now private