fix "}" issue