fixing require main file