fix mcmod.info
refactoring code