fix automation forget to close }