fix for early optional paramters
Merge pull request #2 from nucleartux/master

fix for early optional paramters