remove old references to the os module