fixed database - spinner issue