debugging check and reduce moves