fix get question function