fixed and tested #1517 , sorry for the delay
captivity was switched to its own module it seems, just reflecting this change