fix post-format assignment
Merge pull request #6 from hatsumatsu/fix-post-format-bug

fix post-format assignment