Combine brown sugar, flour, pecans, and melted butter in a mixing bowl. Set aside. In another mixing bowl, combine sweet potatoes, sugar, salt, vanilla, egg, and butter. Mix well. Pour mixture into a buttered 3-quart baking dish. Top with the pecan mixture. Bake for 35-45 minutes, until topping has browned slightly.