replaced deprecated .shortname with .slug