Fixed bug with the direction(do not bloody touch it)