Repaired closure error