Database reference fixed.