added check and notification for empty data