modified printing of mobilitytrace, fixed some bugs