use pwd instead of realpath