fixes bug: multiples tables created