fixed bug caused by spinning thing