fixed copyarr ubuntu issue