Edit ticket bugfix