deal with absolute path