added motor braking after adjusting