editModels debug cleanup