fixed some errors still need to install dateutil for windows