fix BaseTools