corrected diff in case of moves (no unnecessary pointers...)