main files fixed