fixed a bug with spinners