fix last }plugin structure