fixing array echoes