Table creation fix