fixing on spinner bug