Fixed error db base