fix no need error emit
use ' replace "
Merge pull request #8 from dead-horse/fix-to-error

Fix to error