fixed a bug in transit type