Fix finally edit loop