fix error in numargs in fatal()
fix regression testing