Generalize paths .. a little bit
Fix printing error