add resolve for resolving the path name