clean up createTable