fix for undefined variable error status_slug