fixes for safari svg and melia email