fix create_table bug in RetrvScheme
add query to retrvhome