fix typo
remove subroutine prototypes
rewrite dist.ini