fix analytics config