redirect logging + statistics array fix