improve translation and scope validation