fixed issue with path assignment