bad array subscript err1