fixed Bemis length and some control.py thing