Sorry for not mentioning it before, but use REQUIRE better than if + SG_ERROR for these ones.