Removing extra closing bracket