bug fixes

- invoice ghost data
- close ticket option