adding some log
trying to avoid some unicoderrors
trying to avoid some unicoderrors again
storing image in ES
better use a of beaker