Fix RMS readarray