shared db fix