Fix: some variables used by parent class 'BaseSQL' are fixed. tests passed