fixed and tested #1516 , sorry for the delay
captivity has its own module, functions no longer present in interaction