fix pushing to elastic search