fix for pycall not signalling error