fix a bug

update depends

add gitignore
Merge pull request #30 from HybridDog/bugfixes

fix a bug and add gitignore

Thank you :)