fix unmatched curly brace. fix error description