Safe Environment Re-training