improved clippy code
clippy indication in template, fixed path