some simple sanity checks on arguments