fix: bug for empty data