Removes incorrect }