Fixed the spike direction bug