fix a few bugs with the domain storing changes

move to redis db 0