fix BindingFlags bug