add some right checks