- fixed creating tables