fix slug creation for xforms