Remove extra closing bracket