360 degree crank

hiya. I'm back again to make another game where a player can crank 360 then it resets to 0. if player goes backwards it sets to 0. somehow the 0 set point is not at the top center as expected, but more at 9pm angle? How to tweak it so when it reaches 360 at the starting point of crank it goes to 0? thanks!

if total_cranked>=360 then
	total_cranked = 0
if total_cranked<=0 then
	total_cranked = 0