Fixed missing SQL String variable