Fix in management and usage of variable 'freeplay'