fixing main file.