fix bug on removal of ticket form elements