renamed permalink to slug