bug fixes in load_member file