remove dangling curly brace