fix spinner data loss