check that e have sane values