handle spaces in table name