fixed error

fixed error with path variable