fixed double execution of models