handle empty data