fixed createTable