add slug function to common utilities; update censor function implementations