Fixed _compact for images array