debug moving error