add number for rows, and fix destroy for invoces