Fixed PATH manipulation funcs