Fixing main.ms