Fix ticket can not be saved bug