Removed redundant argument to getTablename