fix for arguments into cancel fn
fix for arguments to cancel fn