Fixed bug with path