fixes to init %FORMAT
Merge pull request #7 from obuk/html

fixes to init %FORMAT