fixed launch bugs
fixes #10
Merge pull request #14 from sunny-g/master

small fix