Fix DB variable