fixed wrong ev[] length