move.h fix

Hi

I fixed the segfault (hopefully). The assertions failed for me too. Interesting that the segfault didnt occur.