bug fix of MysqliDb.class.php