fixing float/int issue with circle turning