fix on empty inner array