Fix missing global on 'contruct->table' function
Fix another missing quote on template