fix for ERROR: no method convert(Type{Array{Uint8,1}},Range1{Int64})