fixed some bugs concerning transport