Bug: can't work with long paths