relational db fix