remove bad curly brace