bugfixes with backward momevement