fixed issue with setting non-existent paths