turnstatemachine compilation float errors fixed