Bug fix. The table is created only if it does not exist previosly