fixed change snake direction