forgot about some array layers --- this is a real problem with working with weakly typed arrays. @_@  no more crashing at least!