Fixed create tables exception throwing