fix absolute versus relative path issue