changed to set slug