Incorrect DB variable formatting