fixes a bracket