fix to unwrap an array.