ImArray fixes per @ikesyo 's advice