Fix for reported issue with the transfer_controller causing a runtime error

Also included is a debug controller for the transfer_controller