fix requesthandler gettin wrong var