remove top level key configuration
add failed to expand check