database fixs