fixing db gems