add logic for "/../xxx/"