fix on arrays