added db fix