another movement algorithm rework
bugfix