initOptions fixing