solve the /path problem