change root path generation
change content resource url
fix typo