fixed a bug with _Program where it half-initialize