In case of empty data: fix #2434