fixed async bug that appeared when directions were removed one after another too fast