Removes bug of double path