Fixed an undefined: os