fix the relative path issue