fix case xpt