more elegant way for `/../`