Fix alt for if-closed