fix: changing direction more than once before the change in fact was breaking the direction validation