Fixed close braces issue