fixed missing import os