fixed my fail at getting the current working directory