add a couple sanity checks

Signed-off-by: James Rubingh <james@wrive.com>