fixed attribute error on os module.
Merge "fixed attribute error on os module." into ub-games-master