fix copy and paste error, docstring
revert ugly hack again
add two debug lines, to easily checkout the movent bug
added global vars instead of statements