removed html code from cloudfunc