Bug fix:             fix loadMemberData function db errors and other undefined variables errors.

Signed-off-by: Euhow <euhowzy@gmail.com>