fix for path parts that eqauls to false (id=0 especially)