fix data base variable name issue