Add same check for tx_generate_service