fix spinner script