fix #11 Code style error
fix #12 Bug in pass message to elasticsearch client