fixed the dele invoice