fixed a input form bug for tickets