fixed the hardcoded path issue