fix slug compilation