fixes database typo