fixed a bug with schemas, and stopped createing tables checking if the tables exist