avoids throwing when not required