Fix blank space table name

This commit fix a fatal error on table names with blank spaces.