correct main file