fix braking error