Fix code type