fixing spinner changes