Fix code open