Fix code directory