fixed missing members.
fixed migration query.