fixed typo and safety limit warning
Merge pull request #4 from zchen24/master

fixed typo and safety limit warning