fixed error in slug creation- was refrencing wrong field