bugfix case of tablenames.