fix array rendering