[bugfix] handle non existent paths

closed #47