fix choose member null pointer bug