bug fixing on the spinning wheel