remove close_keys