fix slug definitions