BUG petrans_type have not initialize