change tablename delimeter from " to `
fix empty check