allow more arguments to invmod