fixed model replication bug in generic elements