Fixed a bug of initial_submit.
Merge pull request #27 from krtx/master

Fixed a bug of initial_submit.