optimize questions for unlang code