fixed array bug (it's not python!!!)