fixed the controls