fix preferGlobal value from "true" to true
remove main file