Fixed the bug when load empty data.