add debugging, hopefully fix seconds returned finally, RT#4100