check for incompatible input arguments