fixed wrong explicit stub building