replace absPath to lookPath