fix paths
fix case when section is empty